/**
 * Write some utilized functions
 */